<?php

/**
 * 应用设置
 * 
 * @author ShuangYa
 * @package Blog
 * @category Config
 * @link http://www.sylingd.com/
 * @copyright Copyright (c) 2015 ShuangYa
 * @license http://lab.sylingd.com/go.php?name=blog&type=license
 */

return [
	'appName' => 'SYBlog',
	//调试模式
	'debug' => TRUE,
	'dir' => '../install/',
	//编码
	'charset' => 'utf-8',
	//默认语言
	'language' => 'zh-CN',
	//加密Key
	'cookieKey' => '8z3ecQdx',
	'securityKey' => 'HwlQpTYx',
	'csrf' => FALSE,
	'rewrite' => FALSE,
	'rewriteExt' => 'html',
	//自定义重写规则
	'rewriteRule' => [
	],
	//Controller列表
	'controller' => [
		'install',
	],
	//默认的Router
	'defaultRouter' => 'install/install',
	'class' => [
	],
	//虚拟路由表
	'alias' => [
	],
	//Cookie相关
	'cookie' => [
		'prefix' => '',
		'expire' => 7200,
		'path' => '@app/',
		'domain' => $_SERVER['HTTP_HOST']
	],
	'mysql' => [
		'host' => '127.0.0.1',
		'port' => '3306',
		'user' => 'root',
		'password' => 'root',
		'name' => 'test',
		'prefix' => 'sy_'
	]
];